package one.stand.response.essay;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 文章访客详情
 * @author Administrator
 */
@Data
@ApiModel(value = "文章访客详情")
public class VisitorsResponse {

    /**
     * 用户id
     */
    @ApiModelProperty("用户id")
    private String openId;

    @ApiModelProperty("文章id")
    private Integer dynamicId;

    @ApiModelProperty("访客姓名")
    private String nickname;

    @ApiModelProperty("访客头像")
    private String headImgurl;

    @ApiModelProperty("访问时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date visitTime;

    @ApiModelProperty("总次数")
    private Integer sumNum;

    @ApiModelProperty("总时长")
    private Integer sumTimes;






}
